package com.infect.service;

import com.common.model.infect.User;
import com.common.vo.infect.UserVO;
import com.infect.mapper.UserMapper;

import java.util.List;

public interface UserService {


        //增
        User addUser(UserVO UserVO);

        //删
        User delete(Long id);
        //改
        User update(Long id,UserVO UserVO);
        //查
        User select(Long id);

        List<UserVO> findAll();

}
